package com.jml.jdk8.方法引用;


import java.util.Arrays;
import java.util.List;

/**
 * @author:jml
 * @date: 2019/11/27 0027 21:33
 * @description：
 */
public class MethodReferenceDemo {

     public static void main(String[] args) {
         List<String> list = Arrays.asList("11","22","33");
         list.forEach(item-> System.out.println(item));
         list.forEach(System.out::println);




     }
}
